package sg.java.concepts.string;

public class ReplaceApp {
	public static void main(String args[]) {
		String windowsNewLine = "Zouk\n\rOut";

		System.out.println(windowsNewLine);

		System.out.println("Replacing \\n");
		windowsNewLine = windowsNewLine.replace('\n', ' ');
		System.out.println("Replacing \\r");
		windowsNewLine = windowsNewLine.replace('\r', ' ');

		System.out.print("Results: " + windowsNewLine);

	}
}
